﻿using System;
using Fuse8.ContentManagementFramework.SystemFacade.Extensions;

namespace Fuse8.ContentManagementFramework.Domain.Special
{
    [Serializable]
    public class CmsRedirectPageSetting
    {
        public PageRedirectKind Type { get; set; }
        public string UrlToRedirect { get; set; }
        public int? PublicPageIdToRedirect { get; set; }

        public bool OpenInNewWindow { get; set; }

        public override string ToString()
        {
            return this.StoreMe();
        }
    }
}